import request from '../../utils/Request'

export const listStudent =(date, current, size) =>{
    return request({
        method: 'get',
        url: '/api/distribution/student/list',
        params: {date, current, size}
    })
}

export const listStudentByFacultyId =(current, size, facultyId) =>{
    return request({
        method: 'get',
        url: '/api/distribution/student/list/faculty' + facultyId,
        params: {current, size}
    })
}

export const listStudentByMajorId =(current, size, majorId) =>{
    return request({
        method: 'get',
        url: '/api/distribution/student/list' + majorId,
        params: {current, size}
    })
}